#ifndef UTILITY_H
#define UTILITY_H

//#include "Employee.h"
#include <string.h>
#include <iostream>
#include <sstream>
#include <conio.h>
#include <fstream>

using namespace std;

class CEmployee;
struct Date
{
	int m_nDate;
	int m_nMonth;
	int m_nYear;
};

/*
 * Create a node struct student
 */
struct Node
{
	CEmployee *info;
	struct Node *pNext;
};

/*
 * Create a list struct student
 */
struct List
{
	Node *pHead;
	Node *pTail;
};

/*
 *Prototypes of program
 */	
void CreateList(List *l);
Node *CreateNode(CEmployee *pEmployee);
void Menu();
void End();
void AddHead(List *pList, Node *pNode);
void AddTail(List *pList, Node *pNode);

void WriteToFile(List *pList);

#endif